import turtle

d = turtle.Pen()
d.speed(10.5)
l = ['green', 'yellow', 'orange', 'red', 'blue']
a = 0
i = 2
c = 100
while a < 36:
    d.circle(c)
    d.left(10)
    if a%5==1:
        d.color(l[0])
    elif a%5==2:
        d.color(l[1])
    elif a%5==3:
        d.color(l[2])
    elif a%5==4:
        d.color(l[3])
    elif a%5==0:
        d.color(l[4])
    # d.color(l[a%5])
    a += 1
turtle.mainloop()